package com.honour.service.interfaced.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.honour.service.interfaced.MusicInManager;
import com.system.dao.DaoSupport;
import com.system.util.PageData;

/**
 @Function
 @Author 于泓磊
 @Date   2017年11月30日
*/
@Service("musicinService")
public class MusicInService implements MusicInManager {
	
	@Resource(name = "daoSupport")
	private DaoSupport dao;

	/**
	 * 获得首页推荐音乐列表
	 */
	@SuppressWarnings("unchecked")
	@Override
	public List<PageData> getMusicList(PageData pd) throws Exception {
		return (List<PageData>) dao.findForList("MusicInMapper.recommendlist", pd);
	}
	
	
	
}
